﻿namespace WMS6.Web.StockCountServiceRef
{
    using System;
    using System.CodeDom.Compiler;
    using System.ComponentModel;
    using System.Diagnostics;
    using System.Runtime.CompilerServices;
    using System.Runtime.Serialization;

    [Serializable, GeneratedCode("System.Runtime.Serialization", "3.0.0.0"), DataContract(Name="PhysicalTagInfo", Namespace="http://schemas.datacontract.org/2004/07/WMS6.DataEntity"), DebuggerStepThrough]
    public class PhysicalTagInfo : IExtensibleDataObject, INotifyPropertyChanged
    {
        [OptionalField]
        private decimal AdjQtyField;
        [OptionalField]
        private string CountByField;
        [OptionalField]
        private DateTime CountDateField;
        [OptionalField]
        private decimal CountQtyField;
        [OptionalField]
        private string CreatedByField;
        [OptionalField]
        private DateTime CreatedDateField;
        [NonSerialized]
        private ExtensionDataObject extensionDataField;
        [OptionalField]
        private int GroupNoField;
        [OptionalField]
        private string LocField;
        [OptionalField]
        private string LotField;
        [OptionalField]
        private string LpnIDField;
        [OptionalField]
        private string OwnerIDField;
        [OptionalField]
        private string PackIDField;
        [OptionalField]
        private string PhysicalRequestIDField;
        [OptionalField]
        private string RecountByField;
        [OptionalField]
        private DateTime RecountDateField;
        [OptionalField]
        private decimal RecountQtyField;
        [OptionalField]
        private int RowIDField;
        [OptionalField]
        private string SkuIDField;
        [OptionalField]
        private string StatusDField;
        [OptionalField]
        private string StatusField;
        [OptionalField]
        private string StatusMsgField;
        [OptionalField]
        private decimal SysQtyField;
        [OptionalField]
        private int TagNoField;
        [OptionalField]
        private string TeamNoField;
        [OptionalField]
        private string UomIDField;
        [OptionalField]
        private string UpdatedByField;
        [OptionalField]
        private DateTime UpdatedDateField;
        [OptionalField]
        private string WhIDField;

        public event PropertyChangedEventHandler PropertyChanged;

        protected void RaisePropertyChanged(string propertyName)
        {
            PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
            if (propertyChanged != null)
            {
                propertyChanged(this, new PropertyChangedEventArgs(propertyName));
            }
        }

        [DataMember]
        public decimal AdjQty
        {
            get
            {
                return this.AdjQtyField;
            }
            set
            {
                if (!this.AdjQtyField.Equals(value))
                {
                    this.AdjQtyField = value;
                    this.RaisePropertyChanged("AdjQty");
                }
            }
        }

        [DataMember]
        public string CountBy
        {
            get
            {
                return this.CountByField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CountByField, value))
                {
                    this.CountByField = value;
                    this.RaisePropertyChanged("CountBy");
                }
            }
        }

        [DataMember]
        public DateTime CountDate
        {
            get
            {
                return this.CountDateField;
            }
            set
            {
                if (!this.CountDateField.Equals(value))
                {
                    this.CountDateField = value;
                    this.RaisePropertyChanged("CountDate");
                }
            }
        }

        [DataMember]
        public decimal CountQty
        {
            get
            {
                return this.CountQtyField;
            }
            set
            {
                if (!this.CountQtyField.Equals(value))
                {
                    this.CountQtyField = value;
                    this.RaisePropertyChanged("CountQty");
                }
            }
        }

        [DataMember]
        public string CreatedBy
        {
            get
            {
                return this.CreatedByField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CreatedByField, value))
                {
                    this.CreatedByField = value;
                    this.RaisePropertyChanged("CreatedBy");
                }
            }
        }

        [DataMember]
        public DateTime CreatedDate
        {
            get
            {
                return this.CreatedDateField;
            }
            set
            {
                if (!this.CreatedDateField.Equals(value))
                {
                    this.CreatedDateField = value;
                    this.RaisePropertyChanged("CreatedDate");
                }
            }
        }

        [Browsable(false)]
        public ExtensionDataObject ExtensionData
        {
            get
            {
                return this.extensionDataField;
            }
            set
            {
                this.extensionDataField = value;
            }
        }

        [DataMember]
        public int GroupNo
        {
            get
            {
                return this.GroupNoField;
            }
            set
            {
                if (!this.GroupNoField.Equals(value))
                {
                    this.GroupNoField = value;
                    this.RaisePropertyChanged("GroupNo");
                }
            }
        }

        [DataMember]
        public string Loc
        {
            get
            {
                return this.LocField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LocField, value))
                {
                    this.LocField = value;
                    this.RaisePropertyChanged("Loc");
                }
            }
        }

        [DataMember]
        public string Lot
        {
            get
            {
                return this.LotField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LotField, value))
                {
                    this.LotField = value;
                    this.RaisePropertyChanged("Lot");
                }
            }
        }

        [DataMember]
        public string LpnID
        {
            get
            {
                return this.LpnIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LpnIDField, value))
                {
                    this.LpnIDField = value;
                    this.RaisePropertyChanged("LpnID");
                }
            }
        }

        [DataMember]
        public string OwnerID
        {
            get
            {
                return this.OwnerIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.OwnerIDField, value))
                {
                    this.OwnerIDField = value;
                    this.RaisePropertyChanged("OwnerID");
                }
            }
        }

        [DataMember]
        public string PackID
        {
            get
            {
                return this.PackIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.PackIDField, value))
                {
                    this.PackIDField = value;
                    this.RaisePropertyChanged("PackID");
                }
            }
        }

        [DataMember]
        public string PhysicalRequestID
        {
            get
            {
                return this.PhysicalRequestIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.PhysicalRequestIDField, value))
                {
                    this.PhysicalRequestIDField = value;
                    this.RaisePropertyChanged("PhysicalRequestID");
                }
            }
        }

        [DataMember]
        public string RecountBy
        {
            get
            {
                return this.RecountByField;
            }
            set
            {
                if (!object.ReferenceEquals(this.RecountByField, value))
                {
                    this.RecountByField = value;
                    this.RaisePropertyChanged("RecountBy");
                }
            }
        }

        [DataMember]
        public DateTime RecountDate
        {
            get
            {
                return this.RecountDateField;
            }
            set
            {
                if (!this.RecountDateField.Equals(value))
                {
                    this.RecountDateField = value;
                    this.RaisePropertyChanged("RecountDate");
                }
            }
        }

        [DataMember]
        public decimal RecountQty
        {
            get
            {
                return this.RecountQtyField;
            }
            set
            {
                if (!this.RecountQtyField.Equals(value))
                {
                    this.RecountQtyField = value;
                    this.RaisePropertyChanged("RecountQty");
                }
            }
        }

        [DataMember]
        public int RowID
        {
            get
            {
                return this.RowIDField;
            }
            set
            {
                if (!this.RowIDField.Equals(value))
                {
                    this.RowIDField = value;
                    this.RaisePropertyChanged("RowID");
                }
            }
        }

        [DataMember]
        public string SkuID
        {
            get
            {
                return this.SkuIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.SkuIDField, value))
                {
                    this.SkuIDField = value;
                    this.RaisePropertyChanged("SkuID");
                }
            }
        }

        [DataMember]
        public string Status
        {
            get
            {
                return this.StatusField;
            }
            set
            {
                if (!object.ReferenceEquals(this.StatusField, value))
                {
                    this.StatusField = value;
                    this.RaisePropertyChanged("Status");
                }
            }
        }

        [DataMember]
        public string StatusD
        {
            get
            {
                return this.StatusDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.StatusDField, value))
                {
                    this.StatusDField = value;
                    this.RaisePropertyChanged("StatusD");
                }
            }
        }

        [DataMember]
        public string StatusMsg
        {
            get
            {
                return this.StatusMsgField;
            }
            set
            {
                if (!object.ReferenceEquals(this.StatusMsgField, value))
                {
                    this.StatusMsgField = value;
                    this.RaisePropertyChanged("StatusMsg");
                }
            }
        }

        [DataMember]
        public decimal SysQty
        {
            get
            {
                return this.SysQtyField;
            }
            set
            {
                if (!this.SysQtyField.Equals(value))
                {
                    this.SysQtyField = value;
                    this.RaisePropertyChanged("SysQty");
                }
            }
        }

        [DataMember]
        public int TagNo
        {
            get
            {
                return this.TagNoField;
            }
            set
            {
                if (!this.TagNoField.Equals(value))
                {
                    this.TagNoField = value;
                    this.RaisePropertyChanged("TagNo");
                }
            }
        }

        [DataMember]
        public string TeamNo
        {
            get
            {
                return this.TeamNoField;
            }
            set
            {
                if (!object.ReferenceEquals(this.TeamNoField, value))
                {
                    this.TeamNoField = value;
                    this.RaisePropertyChanged("TeamNo");
                }
            }
        }

        [DataMember]
        public string UomID
        {
            get
            {
                return this.UomIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.UomIDField, value))
                {
                    this.UomIDField = value;
                    this.RaisePropertyChanged("UomID");
                }
            }
        }

        [DataMember]
        public string UpdatedBy
        {
            get
            {
                return this.UpdatedByField;
            }
            set
            {
                if (!object.ReferenceEquals(this.UpdatedByField, value))
                {
                    this.UpdatedByField = value;
                    this.RaisePropertyChanged("UpdatedBy");
                }
            }
        }

        [DataMember]
        public DateTime UpdatedDate
        {
            get
            {
                return this.UpdatedDateField;
            }
            set
            {
                if (!this.UpdatedDateField.Equals(value))
                {
                    this.UpdatedDateField = value;
                    this.RaisePropertyChanged("UpdatedDate");
                }
            }
        }

        [DataMember]
        public string WhID
        {
            get
            {
                return this.WhIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.WhIDField, value))
                {
                    this.WhIDField = value;
                    this.RaisePropertyChanged("WhID");
                }
            }
        }
    }
}

